package com.example.computer_exam_training_sys.service.impl;

import com.example.computer_exam_training_sys.mapper.AdminUserVOMapper;
import com.example.computer_exam_training_sys.service.AdminUserVOService;
import com.example.computer_exam_training_sys.vo.AdminUserVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminUserVOServiceImpl implements AdminUserVOService {
    @Autowired
    private AdminUserVOMapper adminUserVOMapper;

    @Override
    public List<AdminUserVO> getAllAdminUserVO() {
        return adminUserVOMapper.selectAllAdminUserVO();
    }

    @Override
    public AdminUserVO getAdminUserVOByAdminId(Integer adminId) {
        return adminUserVOMapper.selectAdminUserVOByAdminId(adminId);
    }
}
